<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <input type="search" placeholder="请输入文本">
    <script>
        const input = document.querySelector('input')
        input.addEventListener('focus', function(){
            console.log(this);
        })
        function call(){
            console.log(this);
        }
        call()
    </script>

</body>
</html>